<?php
global $ti;
$ti->query_build('user_authenticate','check login')
	->select('users')
	->dwhere('email_address','password');

$ti->query_build('user_authenticate','list users')
	->select('users');
	
$ti->query_build('user_authenticate','update user')
	->update('users')
	->dset('first_name','last_name')
	->same_user();
?>